package com.empire.module.member.controller.admin.warnconfigpersonrelation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 预警条件-人员关系新增/修改 Request VO")
@Data
public class WarnConfigPersonRelationSaveReqVO {

    @Schema(description = "关系ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18088")
    private Long id;

    @Schema(description = "案件ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "40")
    @NotEmpty(message = "案件ID不能为空")
    private String warnConfigId;

    @Schema(description = "重点人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6329")
    @NotNull(message = "重点人ID不能为空")
    private List<Long> personIdList;

}